package StudyCode.summary.Basic;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class DoubleIsInfinite {
	public static void main(String[] args) {
		double d = (double) 1 / 0;
		System.out.println("是不是无穷大?:" + Double.isInfinite(d));

		Double aDouble = new Double(1.999999999);
		System.out.println("是不是无穷大?:" + aDouble.isInfinite());
	}
}
